package YAPclient;

import javax.swing.JLabel;
import javax.swing.JPanel;

@Deprecated
public class GameInformationPanel extends JPanel{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3064007691893163194L;
	
	private JLabel lblLives;
	private JLabel lblNumberOfLives;
	
	public void setNumberOfLives(String lives){
		lblNumberOfLives.setText(lives);
	}

	public GameInformationPanel(){
		
		lblLives = new JLabel("Lives:");
		lblNumberOfLives = new JLabel();
		
		javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
		
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createSequentialGroup()
                    .addComponent(lblLives,javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(lblNumberOfLives,javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE));
        layout.setVerticalGroup(
        	layout.createParallelGroup()
                    .addComponent(lblLives,javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblNumberOfLives,javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE));
                
	}

}
